package com.daxue.configtest.domian;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author daxue0929
 * @date 2023/3/25
 */

@Data(staticConstructor = "newInstance")
@Accessors(chain = true)
public class RemoteConfig {

    private String id;
    private Date createdOn;
    private Date modifiedOn;
    private String env;
    private String name;
    private String app;
    private String label;
    private String value;
    private String type;

    public static class ConfigType {
        public static final String PROPERTIES = "properties";
        public static final String YAML = "yaml";
        public static final String YML = "yml";
    }
}
